package one_04_struct;

import java.util.Scanner;

public class demo03 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        System.out.println("请输入成绩：");
        float v = scanner.nextFloat();
        if (v>=60){
            System.out.println("考试成绩及格！");
        }else {
            System.out.println("考试成绩不及格！");
        }
        scanner.close();
    }
}
